package gjbsh.bangong.ds.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class 组织活动Example {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public 组织活动Example() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria and组织活动idIsNull() {
            addCriterion("组织活动ID is null");
            return (Criteria) this;
        }

        public Criteria and组织活动idIsNotNull() {
            addCriterion("组织活动ID is not null");
            return (Criteria) this;
        }

        public Criteria and组织活动idEqualTo(String value) {
            addCriterion("组织活动ID =", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idNotEqualTo(String value) {
            addCriterion("组织活动ID <>", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idGreaterThan(String value) {
            addCriterion("组织活动ID >", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idGreaterThanOrEqualTo(String value) {
            addCriterion("组织活动ID >=", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idLessThan(String value) {
            addCriterion("组织活动ID <", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idLessThanOrEqualTo(String value) {
            addCriterion("组织活动ID <=", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idLike(String value) {
            addCriterion("组织活动ID like", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idNotLike(String value) {
            addCriterion("组织活动ID not like", value, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idIn(List<String> values) {
            addCriterion("组织活动ID in", values, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idNotIn(List<String> values) {
            addCriterion("组织活动ID not in", values, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idBetween(String value1, String value2) {
            addCriterion("组织活动ID between", value1, value2, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and组织活动idNotBetween(String value1, String value2) {
            addCriterion("组织活动ID not between", value1, value2, "组织活动id");
            return (Criteria) this;
        }

        public Criteria and活动类型IsNull() {
            addCriterion("活动类型 is null");
            return (Criteria) this;
        }

        public Criteria and活动类型IsNotNull() {
            addCriterion("活动类型 is not null");
            return (Criteria) this;
        }

        public Criteria and活动类型EqualTo(String value) {
            addCriterion("活动类型 =", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型NotEqualTo(String value) {
            addCriterion("活动类型 <>", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型GreaterThan(String value) {
            addCriterion("活动类型 >", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型GreaterThanOrEqualTo(String value) {
            addCriterion("活动类型 >=", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型LessThan(String value) {
            addCriterion("活动类型 <", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型LessThanOrEqualTo(String value) {
            addCriterion("活动类型 <=", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型Like(String value) {
            addCriterion("活动类型 like", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型NotLike(String value) {
            addCriterion("活动类型 not like", value, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型In(List<String> values) {
            addCriterion("活动类型 in", values, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型NotIn(List<String> values) {
            addCriterion("活动类型 not in", values, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型Between(String value1, String value2) {
            addCriterion("活动类型 between", value1, value2, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动类型NotBetween(String value1, String value2) {
            addCriterion("活动类型 not between", value1, value2, "活动类型");
            return (Criteria) this;
        }

        public Criteria and活动名称IsNull() {
            addCriterion("活动名称 is null");
            return (Criteria) this;
        }

        public Criteria and活动名称IsNotNull() {
            addCriterion("活动名称 is not null");
            return (Criteria) this;
        }

        public Criteria and活动名称EqualTo(String value) {
            addCriterion("活动名称 =", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称NotEqualTo(String value) {
            addCriterion("活动名称 <>", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称GreaterThan(String value) {
            addCriterion("活动名称 >", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称GreaterThanOrEqualTo(String value) {
            addCriterion("活动名称 >=", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称LessThan(String value) {
            addCriterion("活动名称 <", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称LessThanOrEqualTo(String value) {
            addCriterion("活动名称 <=", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称Like(String value) {
            addCriterion("活动名称 like", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称NotLike(String value) {
            addCriterion("活动名称 not like", value, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称In(List<String> values) {
            addCriterion("活动名称 in", values, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称NotIn(List<String> values) {
            addCriterion("活动名称 not in", values, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称Between(String value1, String value2) {
            addCriterion("活动名称 between", value1, value2, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动名称NotBetween(String value1, String value2) {
            addCriterion("活动名称 not between", value1, value2, "活动名称");
            return (Criteria) this;
        }

        public Criteria and活动地点IsNull() {
            addCriterion("活动地点 is null");
            return (Criteria) this;
        }

        public Criteria and活动地点IsNotNull() {
            addCriterion("活动地点 is not null");
            return (Criteria) this;
        }

        public Criteria and活动地点EqualTo(String value) {
            addCriterion("活动地点 =", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点NotEqualTo(String value) {
            addCriterion("活动地点 <>", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点GreaterThan(String value) {
            addCriterion("活动地点 >", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点GreaterThanOrEqualTo(String value) {
            addCriterion("活动地点 >=", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点LessThan(String value) {
            addCriterion("活动地点 <", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点LessThanOrEqualTo(String value) {
            addCriterion("活动地点 <=", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点Like(String value) {
            addCriterion("活动地点 like", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点NotLike(String value) {
            addCriterion("活动地点 not like", value, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点In(List<String> values) {
            addCriterion("活动地点 in", values, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点NotIn(List<String> values) {
            addCriterion("活动地点 not in", values, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点Between(String value1, String value2) {
            addCriterion("活动地点 between", value1, value2, "活动地点");
            return (Criteria) this;
        }

        public Criteria and活动地点NotBetween(String value1, String value2) {
            addCriterion("活动地点 not between", value1, value2, "活动地点");
            return (Criteria) this;
        }

        public Criteria and报名起始时间IsNull() {
            addCriterion("报名起始时间 is null");
            return (Criteria) this;
        }

        public Criteria and报名起始时间IsNotNull() {
            addCriterion("报名起始时间 is not null");
            return (Criteria) this;
        }

        public Criteria and报名起始时间EqualTo(Date value) {
            addCriterion("报名起始时间 =", value, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间NotEqualTo(Date value) {
            addCriterion("报名起始时间 <>", value, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间GreaterThan(Date value) {
            addCriterion("报名起始时间 >", value, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间GreaterThanOrEqualTo(Date value) {
            addCriterion("报名起始时间 >=", value, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间LessThan(Date value) {
            addCriterion("报名起始时间 <", value, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间LessThanOrEqualTo(Date value) {
            addCriterion("报名起始时间 <=", value, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间In(List<Date> values) {
            addCriterion("报名起始时间 in", values, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间NotIn(List<Date> values) {
            addCriterion("报名起始时间 not in", values, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间Between(Date value1, Date value2) {
            addCriterion("报名起始时间 between", value1, value2, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名起始时间NotBetween(Date value1, Date value2) {
            addCriterion("报名起始时间 not between", value1, value2, "报名起始时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间IsNull() {
            addCriterion("报名截止时间 is null");
            return (Criteria) this;
        }

        public Criteria and报名截止时间IsNotNull() {
            addCriterion("报名截止时间 is not null");
            return (Criteria) this;
        }

        public Criteria and报名截止时间EqualTo(Date value) {
            addCriterion("报名截止时间 =", value, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间NotEqualTo(Date value) {
            addCriterion("报名截止时间 <>", value, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间GreaterThan(Date value) {
            addCriterion("报名截止时间 >", value, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间GreaterThanOrEqualTo(Date value) {
            addCriterion("报名截止时间 >=", value, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间LessThan(Date value) {
            addCriterion("报名截止时间 <", value, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间LessThanOrEqualTo(Date value) {
            addCriterion("报名截止时间 <=", value, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间In(List<Date> values) {
            addCriterion("报名截止时间 in", values, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间NotIn(List<Date> values) {
            addCriterion("报名截止时间 not in", values, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间Between(Date value1, Date value2) {
            addCriterion("报名截止时间 between", value1, value2, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and报名截止时间NotBetween(Date value1, Date value2) {
            addCriterion("报名截止时间 not between", value1, value2, "报名截止时间");
            return (Criteria) this;
        }

        public Criteria and总人数IsNull() {
            addCriterion("总人数 is null");
            return (Criteria) this;
        }

        public Criteria and总人数IsNotNull() {
            addCriterion("总人数 is not null");
            return (Criteria) this;
        }

        public Criteria and总人数EqualTo(BigDecimal value) {
            addCriterion("总人数 =", value, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数NotEqualTo(BigDecimal value) {
            addCriterion("总人数 <>", value, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数GreaterThan(BigDecimal value) {
            addCriterion("总人数 >", value, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("总人数 >=", value, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数LessThan(BigDecimal value) {
            addCriterion("总人数 <", value, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数LessThanOrEqualTo(BigDecimal value) {
            addCriterion("总人数 <=", value, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数In(List<BigDecimal> values) {
            addCriterion("总人数 in", values, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数NotIn(List<BigDecimal> values) {
            addCriterion("总人数 not in", values, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("总人数 between", value1, value2, "总人数");
            return (Criteria) this;
        }

        public Criteria and总人数NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("总人数 not between", value1, value2, "总人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数IsNull() {
            addCriterion("每单位可报名人数 is null");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数IsNotNull() {
            addCriterion("每单位可报名人数 is not null");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数EqualTo(BigDecimal value) {
            addCriterion("每单位可报名人数 =", value, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数NotEqualTo(BigDecimal value) {
            addCriterion("每单位可报名人数 <>", value, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数GreaterThan(BigDecimal value) {
            addCriterion("每单位可报名人数 >", value, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("每单位可报名人数 >=", value, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数LessThan(BigDecimal value) {
            addCriterion("每单位可报名人数 <", value, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数LessThanOrEqualTo(BigDecimal value) {
            addCriterion("每单位可报名人数 <=", value, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数In(List<BigDecimal> values) {
            addCriterion("每单位可报名人数 in", values, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数NotIn(List<BigDecimal> values) {
            addCriterion("每单位可报名人数 not in", values, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("每单位可报名人数 between", value1, value2, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and每单位可报名人数NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("每单位可报名人数 not between", value1, value2, "每单位可报名人数");
            return (Criteria) this;
        }

        public Criteria and是否有效IsNull() {
            addCriterion("是否有效 is null");
            return (Criteria) this;
        }

        public Criteria and是否有效IsNotNull() {
            addCriterion("是否有效 is not null");
            return (Criteria) this;
        }

        public Criteria and是否有效EqualTo(BigDecimal value) {
            addCriterion("是否有效 =", value, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效NotEqualTo(BigDecimal value) {
            addCriterion("是否有效 <>", value, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效GreaterThan(BigDecimal value) {
            addCriterion("是否有效 >", value, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("是否有效 >=", value, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效LessThan(BigDecimal value) {
            addCriterion("是否有效 <", value, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效LessThanOrEqualTo(BigDecimal value) {
            addCriterion("是否有效 <=", value, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效In(List<BigDecimal> values) {
            addCriterion("是否有效 in", values, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效NotIn(List<BigDecimal> values) {
            addCriterion("是否有效 not in", values, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("是否有效 between", value1, value2, "是否有效");
            return (Criteria) this;
        }

        public Criteria and是否有效NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("是否有效 not between", value1, value2, "是否有效");
            return (Criteria) this;
        }

        public Criteria and活动开始时间IsNull() {
            addCriterion("活动开始时间 is null");
            return (Criteria) this;
        }

        public Criteria and活动开始时间IsNotNull() {
            addCriterion("活动开始时间 is not null");
            return (Criteria) this;
        }

        public Criteria and活动开始时间EqualTo(Date value) {
            addCriterion("活动开始时间 =", value, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间NotEqualTo(Date value) {
            addCriterion("活动开始时间 <>", value, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间GreaterThan(Date value) {
            addCriterion("活动开始时间 >", value, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间GreaterThanOrEqualTo(Date value) {
            addCriterion("活动开始时间 >=", value, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间LessThan(Date value) {
            addCriterion("活动开始时间 <", value, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间LessThanOrEqualTo(Date value) {
            addCriterion("活动开始时间 <=", value, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间In(List<Date> values) {
            addCriterion("活动开始时间 in", values, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间NotIn(List<Date> values) {
            addCriterion("活动开始时间 not in", values, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间Between(Date value1, Date value2) {
            addCriterion("活动开始时间 between", value1, value2, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动开始时间NotBetween(Date value1, Date value2) {
            addCriterion("活动开始时间 not between", value1, value2, "活动开始时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间IsNull() {
            addCriterion("活动结束时间 is null");
            return (Criteria) this;
        }

        public Criteria and活动结束时间IsNotNull() {
            addCriterion("活动结束时间 is not null");
            return (Criteria) this;
        }

        public Criteria and活动结束时间EqualTo(Date value) {
            addCriterion("活动结束时间 =", value, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间NotEqualTo(Date value) {
            addCriterion("活动结束时间 <>", value, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间GreaterThan(Date value) {
            addCriterion("活动结束时间 >", value, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间GreaterThanOrEqualTo(Date value) {
            addCriterion("活动结束时间 >=", value, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间LessThan(Date value) {
            addCriterion("活动结束时间 <", value, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间LessThanOrEqualTo(Date value) {
            addCriterion("活动结束时间 <=", value, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间In(List<Date> values) {
            addCriterion("活动结束时间 in", values, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间NotIn(List<Date> values) {
            addCriterion("活动结束时间 not in", values, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间Between(Date value1, Date value2) {
            addCriterion("活动结束时间 between", value1, value2, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and活动结束时间NotBetween(Date value1, Date value2) {
            addCriterion("活动结束时间 not between", value1, value2, "活动结束时间");
            return (Criteria) this;
        }

        public Criteria and排序号IsNull() {
            addCriterion("排序号 is null");
            return (Criteria) this;
        }

        public Criteria and排序号IsNotNull() {
            addCriterion("排序号 is not null");
            return (Criteria) this;
        }

        public Criteria and排序号EqualTo(BigDecimal value) {
            addCriterion("排序号 =", value, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号NotEqualTo(BigDecimal value) {
            addCriterion("排序号 <>", value, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号GreaterThan(BigDecimal value) {
            addCriterion("排序号 >", value, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号GreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("排序号 >=", value, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号LessThan(BigDecimal value) {
            addCriterion("排序号 <", value, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号LessThanOrEqualTo(BigDecimal value) {
            addCriterion("排序号 <=", value, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号In(List<BigDecimal> values) {
            addCriterion("排序号 in", values, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号NotIn(List<BigDecimal> values) {
            addCriterion("排序号 not in", values, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号Between(BigDecimal value1, BigDecimal value2) {
            addCriterion("排序号 between", value1, value2, "排序号");
            return (Criteria) this;
        }

        public Criteria and排序号NotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("排序号 not between", value1, value2, "排序号");
            return (Criteria) this;
        }

        public Criteria and活动路线IsNull() {
            addCriterion("活动路线 is null");
            return (Criteria) this;
        }

        public Criteria and活动路线IsNotNull() {
            addCriterion("活动路线 is not null");
            return (Criteria) this;
        }

        public Criteria and活动路线EqualTo(String value) {
            addCriterion("活动路线 =", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线NotEqualTo(String value) {
            addCriterion("活动路线 <>", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线GreaterThan(String value) {
            addCriterion("活动路线 >", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线GreaterThanOrEqualTo(String value) {
            addCriterion("活动路线 >=", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线LessThan(String value) {
            addCriterion("活动路线 <", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线LessThanOrEqualTo(String value) {
            addCriterion("活动路线 <=", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线Like(String value) {
            addCriterion("活动路线 like", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线NotLike(String value) {
            addCriterion("活动路线 not like", value, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线In(List<String> values) {
            addCriterion("活动路线 in", values, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线NotIn(List<String> values) {
            addCriterion("活动路线 not in", values, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线Between(String value1, String value2) {
            addCriterion("活动路线 between", value1, value2, "活动路线");
            return (Criteria) this;
        }

        public Criteria and活动路线NotBetween(String value1, String value2) {
            addCriterion("活动路线 not between", value1, value2, "活动路线");
            return (Criteria) this;
        }

        public Criteria and其他IsNull() {
            addCriterion("其他 is null");
            return (Criteria) this;
        }

        public Criteria and其他IsNotNull() {
            addCriterion("其他 is not null");
            return (Criteria) this;
        }

        public Criteria and其他EqualTo(String value) {
            addCriterion("其他 =", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他NotEqualTo(String value) {
            addCriterion("其他 <>", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他GreaterThan(String value) {
            addCriterion("其他 >", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他GreaterThanOrEqualTo(String value) {
            addCriterion("其他 >=", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他LessThan(String value) {
            addCriterion("其他 <", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他LessThanOrEqualTo(String value) {
            addCriterion("其他 <=", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他Like(String value) {
            addCriterion("其他 like", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他NotLike(String value) {
            addCriterion("其他 not like", value, "其他");
            return (Criteria) this;
        }

        public Criteria and其他In(List<String> values) {
            addCriterion("其他 in", values, "其他");
            return (Criteria) this;
        }

        public Criteria and其他NotIn(List<String> values) {
            addCriterion("其他 not in", values, "其他");
            return (Criteria) this;
        }

        public Criteria and其他Between(String value1, String value2) {
            addCriterion("其他 between", value1, value2, "其他");
            return (Criteria) this;
        }

        public Criteria and其他NotBetween(String value1, String value2) {
            addCriterion("其他 not between", value1, value2, "其他");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}